/**
 * @Author: 王安祥
 **/
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 二维码主页面查询接口
export const listQRCode = params => axios.get(`${SERVER.DMSCLOUD_PART}/other/qrCodeActivation/search`, { params });

// 二维码激活接口
export const activateQRCode = params => axios.put(`${SERVER.DMSCLOUD_PART}/other/qrCodeActivation/activate`, params);
// 二维码激活接口
export const deactivateQRCode = params => axios.put(`${SERVER.DMSCLOUD_PART}/other/qrCodeActivation/deactivate`, params);
